home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_400 / 418_02 / rasmol2 / Imakefile < prev    next >
Encoding:
Makefile  |  1994-03-02  |  642 b   |  33 lines

  1. DEFS =
  2.  
  3. SRCS = rasmol.c rasmol.h molecule.c molecule.h abstree.c abstree.h \
  4.        command.c command.h tokens.h transfor.c transfor.h render.c render.h \
  5.        x11win.c graphics.h pixutils.c pixutils.h outfile.c outfile.h
  6.  
  7. OBJS = rasmol.o molecule.o abstree.o command.o transfor.o render.o x11win.o \
  8.        pixutils.o outfile.o
  9.  
  10. #ifdef DIALBOX
  11. #ifdef SGI
  12. LIBS = -lm -lXi $(XLIB)
  13. #else
  14. LIBS = -lm -lXinput $(XLIB)
  15. #endif
  16. #else
  17. LIBS = -lm -lXi $(XLIB)
  18. #endif
  19.  
  20. AllTarget(rasmol)
  21.  
  22. NormalProgramTarget(rasmol,$(OBJS), , ,$(LIBS))
  23.  
  24. InstallProgram(rasmol,$(BINDIR))
  25. InstallManPage(rasmol,$(MANDIR))
  26.  
  27. DependTarget()
  28. LintTarget()
  29.  
  30. clean::
  31.     rm *.o
  32.  
  33.